import Vue from "vue";
import store from "@/store";
import App from "./App.vue";
import router from "@/router";
// 公共组件配置
import "@/main/Components";
// elementUI的配置
import "@/main/elementUI";
// 图片懒加载配置
import "@/main/lazyload";
//表单校验的validate配置
import "@/main/vaildate";

import "@/mock"

// import request from "@/request/request";

// 测试拦截器的配置和请求
// const re = request.get("/product/getBaseCategoryList");
// console.log(re);

Vue.config.productionTip = false;

new Vue({
  render: (h) => h(App),
  router,
  store,
  beforeCreate() {
    Vue.prototype.$bus = this
  }
}).$mount("#app");
